#pragma once
#include <typescommon.h>

struct threadExcuterInform
{
    pthread_t threadFd;
    int threadRunflag;
    void *(*threadCallBack)(void *);
    void *userData;
};

void threadExcuterInit(struct threadExcuterInform *threadExcut, void *(*threadCallBack)(void *), void *setUserData);
void threadExcuterBegin(struct threadExcuterInform *threadExcut);
void threadExcuterQuit(struct threadExcuterInform *threadExcut);
